﻿namespace Nickel
{

    /// <summary>
    /// Blog settings
    /// </summary>
    public class Settings
    {

        /// <summary>
        /// About copy
        /// </summary>
        public const string ABOUT = "Information about this site here.";

        /// <summary>
        /// Number of items allowed per page
        /// </summary>
        public const int ARTICLES_PER_PAGE = 5;

        /// <summary>
        /// Create timestamped backup of data before every save (recommended)
        /// </summary>
        public const bool BACKUP_ENABLED = true;

        /// <summary>
        /// Name of site's cookie
        /// </summary>
        public const string COOKIE_NAME = "MySiteCookieName";

        /// <summary>
        /// Allowed image files
        /// </summary>
        public static string[] EXT_IMAGE = new string[] { "gif", "jpeg", "jpg", "png" };

        /// <summary>
        /// Allowed embeddable media
        /// </summary>
        public static string[] EXT_MEDIA = new string[] { "aif", "aiff", "avi", "mp4", "mpeg", "mpg", 
            "mov", "mp3", "ogg", "swf", "wmv", "wav" };

        /// <summary>
        /// Allowed attachment files
        /// </summary>
        public static string[] EXT_ATTACHMENT = new string[] { "aspx", "bmp", "c", "cpp", "cs", "css", 
            "h", "hpp", "htm", "html", "js", "vb", "zip" };

        /// <summary>
        /// Header HTML, ###url### is replaced with site URL ("http://www.yoursite.com/")
        /// ###title### is replaced with site title
        /// </summary>
        public const string HEADER = "<a href=\"###url###\">###title###</a>";

        /// <summary>
        /// Set to true to show author links and link author names
        /// in articles. Recommended if your blog has multiple authors.
        /// </summary>
        public static bool LINK_AUTHORS = true;

        /// <summary>
        /// Pass phrase for hash
        /// </summary>
        public const string PASS_PHRASE = "";

        /// <summary>
        /// Set to true to enable profile photos
        /// </summary>
        public const bool PROFILE_IMAGE_ENABLED = true;

        /// <summary>
        /// Maximum profile image size (either direction)
        /// </summary>
        public const int PROFILE_IMAGE_SIZE = 100;

        /// <summary>
        /// Default meta description
        /// </summary>
        public const string SITE_DESCRIPTION = "Site description for search engines here";

        /// <summary>
        /// Default keywords
        /// </summary>
        public const string SITE_KEYWORDS = "keywords, for, search, engines, here";

        /// <summary>
        /// Site name
        /// </summary>
        public const string SITE_NAME = "Site name for header and e-mails";

        /// <summary>
        /// Site owner (appended to e-mails)
        /// </summary>
        public const string SITE_OWNER = "My name";

        /// <summary>
        /// Tag line to append strategically to 
        /// increase search engine greatness
        /// </summary>
        public const string SITE_TAG_LINE = "Subtitle for site to appear in page title";

        /// <summary>
        /// Site title
        /// </summary>
        public const string SITE_TITLE = "Primary page title here";

        /// <summary>
        /// Maximum small image size (either direction)
        /// </summary>
        public const int SMALL_IMAGE_SIZE = 350;

    }

}